package com.hong.entity;

import java.io.Serializable;

public class Oss implements Serializable {

    private static final long serialVersionUID = -1380005257584495541L;

    //存储空间id
    private int id;

    //存储空间名称
    private String bucketName;

    //存储类型
    private String type;

    //容量   默认为0
    private int capacity;

    //流量   默认为0
    private int flow;

    //当月访问次数   默认为0
    private int visits;

    //访问权限
    private String permission;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBucketName() {
        return bucketName;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getCapacity() {
        return capacity;
    }

    public void setCapacity(int capacity) {
        this.capacity = capacity;
    }

    public int getFlow() {
        return flow;
    }

    public void setFlow(int flow) {
        this.flow = flow;
    }

    public int getVisits() {
        return visits;
    }

    public void setVisits(int visits) {
        this.visits = visits;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    @Override
    public String toString() {
        return "oss{" +
                "id=" + id +
                ", bucketName='" + bucketName + '\'' +
                ", type='" + type + '\'' +
                ", capacity=" + capacity +
                ", flow=" + flow +
                ", visits=" + visits +
                ", permission='" + permission + '\'' +
                '}';
    }
}
